var methodMap = {
    "alipay": "支付宝",
    "wxpay": "微信支付",
    "jdpay": "京东支付",
    "other": "其他"
};


export function getPayMethodName(value) {
    if (!methodMap.hasOwnProperty(value)) {
        console.error("pay methods is unkown");
    }
    return methodMap[value];
}